﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="_Default" %>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <script src="Scripts/Highcharts/highcharts.js"></script>
    <script src="Scripts/Highcharts/modules/exporting.js"></script>
    <script src="Scripts/bootstrap-datepicker.js"></script>
    <script>
        $(function () {
            $('.datepicker').datepicker({ format: 'yyyy-mm-dd' });
        });
    </script>
    <div class="jumbotron" >
        <h1>Stock Data</h1>
        <p class="lead">Analyze Stock data and trends</p>
    </div>
    <div class="row">
        <table style="width:700px;">          
            <tr>
                <td>
                    <h2 style="float:left;margin-right:20px;">Industry Name</h2> 
                    <asp:DropDownList ID="ddl_industryList" runat="server" style="float:left" ></asp:DropDownList>
                </td>
                <td>
                    <h2 style="float:left;margin-right:20px;">Date Range Type</h2>
                    <asp:RadioButtonList ID="rbl_dateRangeType" runat="server"  RepeatDirection="Horizontal" style="float:left" RepeatLayout="Flow"></asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    <label for="from">Start Date</label>
                    <input runat="server" type="text" id="i_fromDate" name="i_fromDate" class="datepicker"/>
                </td>
                <td>
                    <label for="to">End Date</label>
                    <input runat="server" type="text" id="i_toDate" name="i_toDate" class="datepicker" />
                </td>
            </tr>
            <tr>
                <td></td>
                <td><asp:Button ID="b_submit" runat="server" Text="Submit" style="float:right"/></td>
            </tr>
        </table>
        
    </div>
    <asp:Label ID="l_TestOutput" runat="server" Text="Label"></asp:Label>
    <asp:Literal ID="ltrChart" runat="server"></asp:Literal>
</asp:Content>
